home *** CD-ROM | disk | FTP | other *** search
- NAME
-
- rdel 36.2 (18.3.95)
-
-
- COPYRIGHT
-
- This program is Copyright (c) 1995 Ralph Seichter, all rights reserved.
- You may however freely use it and give copies to your friends, as long as
- you don't add data to or remove data from the distribution archive. You may
- *NOT* include any part of the distribution archive in a commercial software
- package. If you want to contact me, write to <zodiac@darkness.gun.de>.
-
-
- PURPOSE
-
- Recursively scans a directory (or a list of directories) for files which
- match a given AmigaDOS pattern. Files can be deleted and/or displayed in
- the current CLI window. 'rdel' will always scan the complete subdirectory
- tree if you don't specify a maximum scan depth. Only files will be deleted,
- all directories remain untouched. Please note that 'rdel' is pure, you can
- thus make it resident.
-
-
- A WORD OF WARNING
-
- This program was designed to delete files, always keep that in mind!
- Toying with the wrong patterns in the wrong directories can be fatal. If
- you type "rdel sys: #? force", you'll get what you asked for.
-
-
- USAGE
-
- The supported command line parameters are:
-
- DIRECTORY/A/M Directory (or directories) to scan.
-
- PATTERN/A AmigaDOS pattern (i.e. "#?.info).
-
- DEPTH/K/N Maximum scan depth. Depth 0 is the directory which
- was specified, depth 1 contains the first level of
- subdirectories, depth 2 the second, and so on.
-
- FORCE/S Override delete protection flags.
-
- PRTONLY/S Print file names only, do not delete. This option
- overrides QUIET.
-
- QUIET/S Don't print anything.
-
- Never ever try to run 'rdel' from Workbench! Depending on the directory
- structure, 'rdel' may require significant amounts of stack, so if it should
- ever crash, increase the stack size and try again. In most cases, however,
- the standard 4 KB are sufficient. 'dos.library' V36 (OS 2.x or better) is
- required.
-
-
- EXAMPLE
-
- Imagine you'd like to remove all icon files from your Work: and FooBar:
- partitions. A simple "rdel Work: FooBar: #?.info" will do the job. If you
- want to get a list of all the files on your SYS: partition which have the
- string "pref" in their name, use "rdel SYS: #?pref#? prtonly".
-
-
- DISCLAIMER
-
- THIS MATERIAL IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
- EXPRESS OR IMPLIED, STATUTORY OR OTHERWISE, INCLUDING WITHOUT LIMITATION
- ANY IMPLIED WARRANTIES OF NONINFRINGEMENT, MERCHANTABILITY AND FITNESS FOR
- A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE USE, RESULTS, AND
- PERFORMANCE OF THIS MATERIAL IS ASSUMED BY YOU AND IF THE PRODUCT SHOULD
- PROVE TO BE DEFECTIVE, YOU ASSUME THE ENTIRE COST OF ALL NECESSARY
- SERVICING, REPAIR, OR OTHER REMEDIATION.
-